.ellipsis {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

// 两行省略
.ellipsis-2 {
  display: -webkit-box;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

// 三行省略
.ellipsis-3 {
  display: -webkit-box;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

// 三行省略
.ellipsis-4 {
  display: -webkit-box;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
}

.justified-text {
  display: -webkit-box;
  text-align: justify;
  text-indent: 2em;
  -webkit-box-pack: justify;
}

.public-background {
  height: 100%;
  padding: 0 30rpx;
  background: linear-gradient(180deg, $uni-color-primary 0%, #f4f5f7 40vh, #f4f5f7 100%);
}
.public-page {
  overflow-x: hidden;
  overflow-y: scroll;
}
.uv-empty {
  height: calc(100vh - 70px - 30px);
  .coupon-no {
    display: none;
  }
}

.public-height {
  width: 100%;
  height: 13px;
}

.public-mt {
  height: calc(100% - 30px);
}

page ::-webkit-scrollbar {
  display: none;
  width: 0 !important;
  height: 0 !important;
  -webkit-overflow-scrolling: touch; /* 使滚动平滑 */
}
.scroll ::-webkit-scrollbar {
  display: none;
  width: 0 !important;
  height: 0 !important;
  -webkit-overflow-scrolling: touch; /* 使滚动平滑 */
}
.scroll {
  position: flex;
  top: 0;
  bottom: 0;
  overflow: hidden;
}

.circle-loading {
  .uv-loading-icon__spinner--circle {
    border-width: 4px !important;
  }
}
